package five;

/**
 * @author zzb
 * @since 2021-01-12
 */

//Prototype
public class Prototype implements Cloneable {

  private String name;
  public void setName(String name) {
    this.name = name;
  }
  public String getName() {
    return this.name;
  }
  @Override
  public Object clone() {
    try {
      return super.clone();
    } catch (Exception e) {
      e.printStackTrace();
      return null;
    }
  }
}
